package com.example.a.logdemo;

import android.os.Bundle;
import android.util.Log;


/**
 * Created by a on 2017/9/21.
 */

public class secondacitivity extends MainActivity {

    private static final String ACTIVITY_TAG="secondacitivity";;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        Log.e(ACTIVITY_TAG,"FirstAcvity --->onCreate");
        super.onCreate(savedInstanceState);
        setContentView(R.layout.secondactivity);

    }

    @Override
    protected void onPostResume() {
        Log.e(ACTIVITY_TAG,"FirstAcvity --->onPostResume");
        super.onPostResume();
    }

    @Override
    protected void onStart() {
        Log.e(ACTIVITY_TAG,"FirstAcvity --->onStart");
        super.onStart();
    }

    @Override
    protected void onStop() {
        Log.e(ACTIVITY_TAG,"FirstAcvity --->onStop");
        super.onStop();
    }

    @Override
    protected void onPause() {
        Log.v(ACTIVITY_TAG,"FirstAcvity --->onDestory");
        super.onPause();
    }

    @Override
    protected void onRestart() {
        Log.v(ACTIVITY_TAG,"FirstAcvity --->onRestart");
        super.onRestart();
    }
    @Override
    protected void onDestroy() {
        Log.e(ACTIVITY_TAG,"FirstAcvity --->onDestory");
        super.onDestroy();
    }
}
